package com.ruoyi.expert.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 教育表 cs_educate
 *
 * @author wyp
 */
public class Educate {
    /** 教育ID */
    private Integer rid;
    /** 专家ID */
    private Integer jid;
    /** 毕业院校 */
    private String r_school;
    /** 专业 */
    private String specialized;
    /** 学历 */
    private String r_degree;
    @DateTimeFormat(pattern ="yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    /** 入学时间 */
    private Date r_enrollment_time;
    @DateTimeFormat(pattern ="yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    /** 毕业时间 */
    private Date r_graduation_time;

    public Educate(Integer rid, Integer jid, String r_school, String specialized, String r_degree, Date r_enrollment_time, Date r_graduation_time) {
        this.rid = rid;
        this.jid = jid;
        this.r_school = r_school;
        this.specialized = specialized;
        this.r_degree = r_degree;
        this.r_enrollment_time = r_enrollment_time;
        this.r_graduation_time = r_graduation_time;
    }
    public Educate(){

    }

    public Integer getRid() {
        return rid;
    }

    public void setRid(Integer rid) {
        this.rid = rid;
    }

    public Integer getJid() {
        return jid;
    }

    public void setJid(Integer jid) {
        this.jid = jid;
    }

    public String getR_school() {
        return r_school;
    }

    public void setR_school(String r_school) {
        this.r_school = r_school;
    }

    public String getSpecialized() {
        return specialized;
    }

    public void setSpecialized(String specialized) {
        this.specialized = specialized;
    }

    public String getR_degree() {
        return r_degree;
    }

    public void setR_degree(String r_degree) {
        this.r_degree = r_degree;
    }

    public Date getR_enrollment_time() {
        return r_enrollment_time;
    }

    public void setR_enrollment_time(Date r_enrollment_time) {
        this.r_enrollment_time = r_enrollment_time;
    }

    public Date getR_graduation_time() {
        return r_graduation_time;
    }

    public void setR_graduation_time(Date r_graduation_time) {
        this.r_graduation_time = r_graduation_time;
    }

    @Override
    public String toString() {
        return "Educate{" +
                "rid=" + rid +
                ", jid=" + jid +
                ", r_school='" + r_school + '\'' +
                ", specialized='" + specialized + '\'' +
                ", r_degree='" + r_degree + '\'' +
                ", r_enrollment_time=" + r_enrollment_time +
                ", r_graduation_time=" + r_graduation_time +
                '}';
    }
}
